// import Cookies from 'js-cookie'

const TokenKey = '__ADMIN__'

export function getToken() {
  // return Cookies.get(TokenKey)
  return sessionStorage.getItem(TokenKey)
}

export function setToken(token) {
          sessionStorage.setItem(TokenKey,token)
  // return Cookies.set(TokenKey, token)
}

export function removeToken(){
  // return Cookies.remove(TokenKey)
  sessionStorage.removeItem(TokenKey)
}
